import java.util.ArrayList;

public class TrainingExample {
	public ArrayList<Double> answer;
	public ArrayList<Double> question;
	
	TrainingExample()
	{
		answer = null;
		question = null;
	}
	
	@SuppressWarnings("unchecked")
	TrainingExample(TrainingExample other)
	{
		answer = (ArrayList<Double>) other.answer.clone();
		question = (ArrayList<Double>) other.question.clone();
	}
	
	boolean isValid()
	{
		return question != null && answer != null;
	}
}
